// SPDX-FileCopyrightText: 2023-2025 Sangfor Technologies Inc.
// SPDX-License-Identifier: Mulan PSL v2
package com.geniusai.aip.auth.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author hml14563
 * @date 2021/4/15
 */
@Data
public class UserVO {
    private String userId;

    private String username;

    private Integer role;

    // CPU总数
    private Float cpuNum;

    // 内存总数
    private Integer memorySize;

    // GPU显存总数
    @JsonProperty("vGpuMemory")
    private Integer vGpuMemory;

    // 存储总数
    private Integer volumeSize;

    // GPU显存分配
    private Integer allocatedVGpuMemory;

    // 内存分配
    private Integer allocatedMemorySize;

    // CPU分配
    private Integer allocatedCpuNum;

    // 存储分配
    private Integer allocatedVolumeSize;

    @ApiModelProperty("总容量")
    private String totalCapacity;

    @ApiModelProperty("已使用容量")
    private String usedCapacity;

    @ApiModelProperty("数据集上限")
    private Long datasetCapacity;

    @ApiModelProperty("数据集个数")
    private Long datasetUsed;

    @ApiModelProperty("数据空间名")
    private String dataSpaceName;

    private String updateTime;

    private String createTime;

    private Integer projectNum;

}
